public class dog implements Animal{
    public void move(){
        System.out.println("移动");
    }
    public void talk(){
        System.out.println("谈话");
    }

    public String  name;

    public int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

}
